<?//print_r($this->oneproject); die;?>
<?$project=$this->oneproject?>
<div class="allprojects" style="border: none;">
  <h1><?=$project[0]['title']?></h1>
  <?if (isset($project[0]['img']))?>
    <img src="<?=$project[0]['img']?>" style="    float: left;    max-height: 188px;    max-width: 240px;    padding: 0 15px 15px 0; ">
   <div style="position: relative;"><?=$project[0]['content']?></div>
    <div  class="date"><?=$project[0]['date']->format('Y-m-d')?></div>
<!--       <div style="clear: both;"></div>-->
<!--<div style="margin-right: 40px; float: right;">--><?//=$project['date']->format('Y-m-d')?>

</div>
    <hr style="color: #00A7E1;">